import 'package:flutter/material.dart';

enum StatusStyle { LIGHT_CONTENT, DARK_CONTENT }


///黑色线性渐变
blackLinearGradient({bool fromTop=false}){
  return LinearGradient(
    begin: fromTop?Alignment.topCenter:Alignment.bottomCenter,
    end: fromTop?Alignment.bottomCenter:Alignment.topCenter,
      colors: const [
        Colors.black54,
        Colors.black45,
        Colors.black38,
        Colors.black26,
        Colors.black12,
        Colors.transparent
      ]);
}

///间距
SizedBox hiSpace({double height: 1, double width: 1}) {
  return SizedBox(height: height, width: width);
}